import os
import sys
print(os.getcwd())

path = sys.argv[1]
print(path)


videoPath = os.listdir(path)
for v in videoPath:
    print(v)
    if 'mp4' in v:
        print(" this is a  video file run process")
        cmd = "python3 videox.py "+path+ " " + v +" "+ "qrcode.jpg"
        os.system(cmd)
